package com.xxxx.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.api.vo.GoodsCategoryTree;
import com.xxxx.manager.pojo.GoodsCategory;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ppl
 * @since 2021-01-01
 */
public interface GoodsCategoryMapper extends BaseMapper<GoodsCategory> {
    
    List<GoodsCategoryTree> selectTreeGoodsCategory(Integer pId);

    List<Integer> selectCatGroupList();


    Integer getMaxID();

    String getParentIdPath(Integer pId);
}
